package sanoj;
import javax.swing.*;
import java.awt.Color;
import java.awt.Container;

public class Sobre extends JFrame  {

	private static final long serialVersionUID = 1L;
	
	private Container container;
	private ImageIcon image;
	private JLabel label;

	public Sobre() {
		setTitle("Sobre");
		setSize(237, 200);
		setLocationRelativeTo(null);
		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		
		setResizable(false);
		getContentPane().setLayout(null);

		container = this.getContentPane();
		container.setBackground(Color.pink);
		
		image = new ImageIcon(getClass().getResource("contato.gif"));
		label = new JLabel(image);
		add(label);

	}

	public static void main(String[] args) {
		JFrame FormularioE = new Sobre();
		FormularioE.setVisible(true);
	}

}
